/*
 * 版权所有 (C) 2015 知启蒙(ZHIQIM) 保留所有权利。[遇见知启蒙，邂逅框架梦]
 * 
 * https://zhiqim.org/project/zhiqim_components/zhiqim_manager.htm
 *
 * Zhiqim Manager is licensed under Mulan PSL v2.
 * You can use this software according to the terms and conditions of the Mulan PSL v2.
 * You may obtain a copy of Mulan PSL v2 at:
 *          http://license.coscl.org.cn/MulanPSL2
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PSL v2 for more details.
 */
package org.zhiqim.manager.dbo;

import java.io.Serializable;

import org.zhiqim.kernel.annotation.AnAlias;
import org.zhiqim.kernel.annotation.AnNew;
import org.zhiqim.kernel.json.Jsons;
import org.zhiqim.orm.annotation.*;

/**
 * 系统操作员参数表 对应表《ZMR_PARAM_OPERATOR》
 */
@AnAlias("ZmrParamOperator")
@AnNew
@AnTable(table="ZMR_PARAM_OPERATOR", key="PARAM_KEY", type="InnoDB")
public class ZmrParamOperator implements Serializable
{
    private static final long serialVersionUID = 1L;

    @AnTableField(column="PARAM_KEY", type="string,32", notNull=true)    private String paramKey;    //1.参数键
    @AnTableField(column="PARAM_SEQ", type="int", notNull=true)    private int paramSeq;    //2.参数排序数
    @AnTableField(column="PARAM_NAME", type="string,32", notNull=true)    private String paramName;    //3.参数中文名称
    @AnTableField(column="PARAM_TYPE", type="string,10", notNull=true)    private String paramType;    //4.参数类型，private表示私有不显示，protected表示显示，public表示公开可修改
    @AnTableField(column="PARAM_VALIDATE", type="string,200", notNull=false)    private String paramValidate;    //5.参数验证
    @AnTableField(column="PARAM_DESC", type="string,200", notNull=true)    private String paramDesc;    //6.参数描述

    public String toString()
    {
        return Jsons.toString(this);
    }

    public String getParamKey()
    {
        return paramKey;
    }

    public ZmrParamOperator setParamKey(String paramKey)
    {
        this.paramKey = paramKey;
        return this;
    }

    public int getParamSeq()
    {
        return paramSeq;
    }

    public ZmrParamOperator setParamSeq(int paramSeq)
    {
        this.paramSeq = paramSeq;
        return this;
    }

    public String getParamName()
    {
        return paramName;
    }

    public ZmrParamOperator setParamName(String paramName)
    {
        this.paramName = paramName;
        return this;
    }

    public String getParamType()
    {
        return paramType;
    }

    public ZmrParamOperator setParamType(String paramType)
    {
        this.paramType = paramType;
        return this;
    }

    public String getParamValidate()
    {
        return paramValidate;
    }

    public ZmrParamOperator setParamValidate(String paramValidate)
    {
        this.paramValidate = paramValidate;
        return this;
    }

    public String getParamDesc()
    {
        return paramDesc;
    }

    public ZmrParamOperator setParamDesc(String paramDesc)
    {
        this.paramDesc = paramDesc;
        return this;
    }
}
